
import junit.framework.TestCase;
import org.junit.Test;

public class CalculatorUnitTestCase{
    
    @Test
    public void testAddition(){
        final CalculatorCommonBusiness calc = new SimpleCalculatorBean();
        final int expectedSum = 2 + 3 + 5;
        
        final int actualSum = calc.add(2,3,5);
        TestCase.assertEquals("Adicao nao retornou o resultado esperado.", expectedSum, actualSum);
    }
    
}

